package cc.pattern.decorate;

import java.math.BigDecimal;

/**
 * 总抽象类
 */
public abstract class Beverage {
	private String desc = "Unknown Cake";;
	private int size;

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	// 价格抽象
	public abstract BigDecimal price();
}
